import threading
import time

a = 200


def say_sorry():
    global a
    print('Sorry')
    time.sleep(0.2)
    for i in range(200):
        a += 1


print(threading.enumerate())
t = threading.Thread(target=say_sorry)
t2 = threading.Thread(target=say_sorry)
print(threading.enumerate())
t.start()
t2.start()
print(threading.enumerate())
t.join()
t2.join()
print(threading.enumerate())
print(a)
